#!/usr/bin/env python
# -*- coding: utf-8 -*-

print 'Global Variable Demo'

def scopetest():
    global var   
    var=6;  
    print(var)
          
var=5   
print(var)  
scopetest()  
print(var)  